﻿using Chloe.Annotations;
using System;
using System.Collections.Generic;
using System.Text;

namespace Ace.Entity.Wiki
{
    [Table("promotion")]
    public class Promotion
    {
        public string Id { get; set; }
         


        public string Title { get; set; }

        public decimal MaxLimit { get; set; }

        public decimal CutPrice { get; set; }

        public DateTime Date1 { get; set; }

        public DateTime Date2 { get; set; }

        public int ST { get; set; }

        public DateTime CreateDate { get; set; }

    }

    public class PromotionInfo: Promotion
    {
        public string ProductName { get; set; }
    }


    
    [Table("promotion_item")]
    public class PromotionItem
    {
        public string PromotionId { get; set; }

        public string ProductID { get; set; }

    }

    public class PromotionItemInfo: PromotionItem
    {
        public string ProductName { get; set; }
    }

}
